<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html >
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
</head>
<body class="body" style="padding-top: 60px;">
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="brand" href="#" style="color: #FFFFFF;">Kaishengit PMS</a>
			</div>
		</div>
	</div>
	
	<div class="container">
		<div class="row">
			<div class="span3">
				<div class="well" style="padding:8px 0;">
					<ul class="nav nav-list">
						<li class="nav-header">新Apple总部项目</li>
						<li class="divider"></li>
						<li >
							<a href="project.html">
								<i class="icon-home "></i>
								最新动态
							</a>
						</li >
						<li class="active">
							<a href="#">
								<i class="icon-flag icon-white"></i>
								目标
							</a>
						</li>
						<li >
							<a href="document.html">
								<i class="icon-folder-open"></i>
								资料库
							</a>
						</li>
						<li >
							<a href="file.html">
								<i class=" icon-file"></i>
								文件共享
							</a>
						</li>
						<li >
							<a href="contact.html">
								<i class=" icon-user"></i>
								联系人
							</a>
						</li>
						<li >
							<a href="idea.html">
								<i class="icon-fire"></i>
								想法
							</a>
						</li>
						<li >
							<a href="#">
								<i class="icon-warning-sign"></i>
								Bug
							</a>
						</li>
						<li >
							<a href="#">
								<i class="icon-cog"></i>
								项目设置
							</a>
						</li>
					</ul>
				
				</div>
			</div>
			<div class="span9">
				<div class="btn-group" style="float:right;">
					<a herf="#" class="btn">
						<i class="icon-cog"></i>
						操作
					</a>
					<a herf="#" class="btn dropdown-toggle" data-toggle="dropdown">
						<span class="caret"></span>
					</a>
					<ul class="dropdown-menu">
						<li>
							<a href="project.jspx?m=addGoal">
								<i class="icon-plus"></i>
								添加新目标
							</a>
						</li>
						<li>
							<a href="project.jspx?m=allTask">
								<i class="icon-zoom-in"></i>
								浏览所有任务
							</a>
						</li>
					</ul>
				</div>
				<div style="clear:both"></div>
				<c:forEach items="${list }" var="goal">
				<ul class="breadcrumb" style="margin-top:35px;margin-bottom:0px;border-radius:3px 3px 0 0;">
					<li><i class="icon-th"></i><a href="task.html" style="color:#000">${goal.name }</a></li>
					<li style="float:right"><i class="icon-edit"></i><a href="project.jspx?m=editGoal&id=${goal.id }" style="color:#000">编辑</a></li>
				</ul>
				<div class="wall" style="border:1px solid #ccc;padding:10px;border-top:none;">
					${goal.desc }
					<div class="progress progress-danger">
						<div class="bar" style="width:${goal.rate}%">已完成${goal.rate }%</div>
					</div>
				</div>
				</c:forEach>
			
				
			
				
			
			</div>
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
</html>